package com.lantu.wisdom.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.util.StringUtils;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * <p>
 * 类型表
 * </p>
 *
 * @author zch
 * @since 2021-06-15
 */
@Data
public class AddAppraisalTypeDTO  {

    private static final long serialVersionUID = 1L;


    /**
     * 鉴定类型名称
     */
    @ApiModelProperty(value = "鉴定类型名称")
    private String typeName;

    /**
     * 等级
     */
    @ApiModelProperty(value = "等级 1:鉴定大类：2：鉴定类别 3：鉴定事项")
    @Min(value = 1,message = "level min 1")
    @Max(value = 4,message = "level max 3")
    private Integer level;

    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级code")
    private String parentCode;

    /**
     * 类型 1 鉴定 2 法律  3 仲裁
     */
    @ApiModelProperty(value = "类型")
    private Integer type;

}
